<template>
  <div>
    导航一 选项1  下面是我请求到的数据
    <div>{{ content }}</div>
  </div>
</template>

<script>
  import { getData } from '../../api/page1'

  export default {
    name: 'home',
    data() {
      return {
        content: ''
      }
    },
    mounted() {
      getData().then(res => {
        this.content = JSON.stringify(res.data)
      })
    }
  }
</script>

<style lang="scss" scoped>

</style>